package com.lijin.web.service.impl;

import com.lijin.web.dao.UserMapper;
import com.lijin.web.entity.User;
import com.lijin.web.service.UserService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by gold-jx on 2017/7/29.
 */
@Service
public class UserServiceImpl implements UserService{
    @Autowired
    private UserMapper userMapper;

    public List<User> findUser() {
        return userMapper.selectUserAll();
    }
}
